package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.MyCollection;
import cn.wolfcode.trip.base.query.MyCollectionQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IMyCollectionService {

    void save(MyCollection collection);

    PageInfo query(MyCollectionQueryObject qo);

    void delete(Long strategydetailId, Long travelId, Long dailyId, Long userId);

    Boolean checkHasCollection(Long strategydetailId, Long travelId, Long dailyId, Long userId);

    Integer selectCollection(QueryObject qo);

    Integer selecttravelId(MyCollectionQueryObject qo);

    Integer selectstrategydetaiId(MyCollectionQueryObject qo);

    Integer selectdailyId(MyCollectionQueryObject qo);
}
